package controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value="/index")
public class IndexController {

	@RequestMapping(value="/test", method=RequestMethod.GET)
	public @ResponseBody String test(){
		return "Test";
	}
	
	@RequestMapping(value="/", method=RequestMethod.GET)
	public @ResponseBody String index(){
		return "Index";
	}
}
